package com.bailv.macro;

import java.util.HashMap;
import java.util.Map;

import com.bailv.macro.SensorNameMacro.SensorName;

public class YeelinkSensorID {
	
	private static Map<SensorName, Integer> SensorID = new HashMap<SensorName,Integer>(){
		{
			put(SensorName.SWITCH1, 86618);
			put(SensorName.SWITCH2, 86619);
			put(SensorName.SWITCH3, 86620);
			put(SensorName.LIGHT, 325512);
			put(SensorName.WINDOW, 325513);
			put(SensorName.CURTAIN, 325514);
			put(SensorName.DOOR, 325515);
			put(SensorName.AIRPOWER, 325516);
		}
	};
	
	public static int getSensorID(SensorName sensorName){
		return SensorID.get(sensorName);
	}

}
